package com.yiren.manager.form.messhall;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrFoodMealForm extends GenericForm{
	
	private static final long serialVersionUID = 4931517855088030194L;

	private String foodMealsId;

	private Float amountDay;

	private Float amountMonth;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String mealsName;

	private String mealsObject;

	private String remark;

	private Integer timesDay;

	private Integer timesMonth;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	public String getFoodMealsId() {
		return foodMealsId;
	}

	public void setFoodMealsId(String foodMealsId) {
		this.foodMealsId = foodMealsId;
	}

	public Float getAmountDay() {
		return amountDay;
	}

	public void setAmountDay(Float amountDay) {
		this.amountDay = amountDay;
	}

	public Float getAmountMonth() {
		return amountMonth;
	}

	public void setAmountMonth(Float amountMonth) {
		this.amountMonth = amountMonth;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getMealsName() {
		return mealsName;
	}

	public void setMealsName(String mealsName) {
		this.mealsName = mealsName;
	}

	public String getMealsObject() {
		return mealsObject;
	}

	public void setMealsObject(String mealsObject) {
		this.mealsObject = mealsObject;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getTimesDay() {
		return timesDay;
	}

	public void setTimesDay(Integer timesDay) {
		this.timesDay = timesDay;
	}

	public Integer getTimesMonth() {
		return timesMonth;
	}

	public void setTimesMonth(Integer timesMonth) {
		this.timesMonth = timesMonth;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
